<?php include('base.php')?>
<?php $this->template->startblock('main') ?>
<h3><b>会员角色列表</b></h3>
<table cellspacing="0" cellpadding="0" width="100%" id="ftable">
	<tr class="tr3 s3">
		<td class="tal" style="padding-left: 30px">ID</td>
		<td class="tal" width="10%">用户名</td>
		<td class="tal" width="15%">用户角色</td>
		<td class="tal" width="20%">邮箱</td>
		<td class="tal" width="20%">最后IP</td>
		<td class="tal" width="20%">最后时间</td>
		<td class="tal" width="5%">编辑</td>
		<td class="tal" width="5%">删除</td>
	</tr>
	<?php foreach($arr as $value){?>
	<tr class="tr3">
		<td style="padding-left: 30px"><?php echo $value['u_id']?></td>
		<td><?php echo $value['u_name']?></td>
		<td><?php echo $value['role_name']?></td>
		<td><?php echo $value['email']?></td>
		<td><?php echo $value['u_ip']?></td>
		<td><?php echo date('Y-m-d H:i:s',$value['last_time'])?></td>
		<td><a class="fourm-two" href="<?php echo
		site_url();?>admin/edituser/uid/<?php echo $value['u_id']?>"><span
			class="edit" title="编辑"></span></a></td>
		<td><a class="fourm-two" href="javascript:void(0);" onclick="checkdel('<?php echo
		site_url();?>post/deluser/uid/<?php echo $value['u_id']?>')"><span
			class="del" title="删除"></span></a></td>
	</tr>
	<?php }?>
</table>
<?php $this->template->endblock() ?>